<?php 
global $USER_LEVEL_BONUS_TXT;
?>
<h1>Массовая продажа бонусов. Шаг 1</h1>


<form method=get action='sell/mass/' enctype='multipart/form-data' id='f'>
	<table class='edit' cellspacing=0>
		<tr>
			<td>Участник</td>
			<td><select name='user_id'>
				<option value=''></option>
				<?php foreach($users as $u) { ?>
					<option value='<?php echo $u['id']?>' <?php if(@$oper['user_id'] == $u['id']) echo 'selected'; ?>><?php echo $u['fio']?> (<?=$u['email']?>)</option>
				<?php } ?>
			</select></td>
		</tr>
		<tr>
			<td>Тип бонуса</td>
			<td><select name='type'>
				<?php
				foreach($types as $k => $v)
				{
					?><option value='<?=$k?>'><?=$v?></option><?
				}
				 ?>
			</select></td>
		</tr>
		<tr>
			<td colspan=2><input type='checkbox' name='nofrozen' value='1'> Только размороженные</td>
		</tr>
	</table>
	<br>
	<input type='submit' value='Дальше'>

</form>
